home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Medal Software 1
/
Gold Medal Software Volume 1 (Gold Medal) (1994).iso
/
prog
/
dasv10_.arj
/
COUNTUP.CPP
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1993-08-09
|
187 b
|
13 lines
// math.lib library function count_up()
#include <iostream.h>
void count_up(long x)
{
long counter=1;
do {
cout<<" "<<counter;
} while (++counter<=x);
cout<<"\n";
}